# 使用比特浏览器打开指定国家、指定网址的IP
class CountryInfo:
    def __init__(self, code, phone_code, phone_number):
        self.code = code
        self.phone_code = phone_code
        self.phone_number = phone_number

country_mapping = {
    "安道尔": CountryInfo("AD", "+376", "1916801552"),
    "阿拉伯联合酋长国": CountryInfo("AE", "+971", "1916801552"),
    "阿富汗": CountryInfo("AF", "+93", "1916801552"),
    "安提瓜和巴布达": CountryInfo("AG", "+1 268", "1916801552"),
    "亚美尼亚": CountryInfo("AM", "+374", "1916801552"),
    "安哥拉": CountryInfo("AO", "+244", "1916801552"),
    "奥地利": CountryInfo("AT", "+43", "1916801552"),
    "阿鲁巴": CountryInfo("AW", "+297", "1916801552"),
    "阿塞拜疆": CountryInfo("AZ", "+994", "1916801552"),
    "波斯尼亚和黑塞哥维那": CountryInfo("BA", "+387", "1916801552"),
    "孟加拉国": CountryInfo("BD", "+880", "1916801552"),
    "比利时": CountryInfo("BE", "+32", "1916801552"),
    "布基纳法索": CountryInfo("BF", "+226", "1916801552"),
    "保加利亚": CountryInfo("BG", "+359", "1916801552"),
    "巴林": CountryInfo("BH", "+973", "1916801552"),
    "布隆迪": CountryInfo("BI", "+257", "1916801552"),
    "贝宁": CountryInfo("BJ", "+229", "1916801552"),
    "百慕大": CountryInfo("BM", "+1 441", "1916801552"),
    "文莱": CountryInfo("BN", "+673", "1916801552"),
    "玻利维亚": CountryInfo("BO", "+591", "1916801552"),
    "巴西": CountryInfo("BR", "+55", "1916801552"),
    "巴哈马": CountryInfo("BS", "+1 242", "1916801552"),
    "不丹": CountryInfo("BT", "+975", "1916801552"),
    "博茨瓦纳": CountryInfo("BW", "+267", "1916801552"),
    "白俄罗斯": CountryInfo("BY", "+375", "1916801552"),
    "刚果民主共和国": CountryInfo("CD", "+243", "1916801552"),
    "中非共和国": CountryInfo("CF", "+236", "1916801552"),
    "刚果共和国": CountryInfo("CG", "+242", "1916801552"),
    "瑞士": CountryInfo("CH", "+41", "1916801552"),
    "科特迪瓦": CountryInfo("CI", "+225", "1916801552"),
    "库克群岛": CountryInfo("CK", "+682", "1916801552"),
    "智利": CountryInfo("CL", "+56", "1916801552"),
    "喀麦隆": CountryInfo("CM", "+237", "1916801552"),
    "中国": CountryInfo("CN", "+86", "1916801552"),
    "哥伦比亚": CountryInfo("CO", "+57", "1916801552"),
    "哥斯达黎加": CountryInfo("CR", "+506", "1916801552"),
    "佛得角": CountryInfo("CV", "+238", "1916801552"),
    "库拉索": CountryInfo("CW", "+5999", "1916801552"),
    "捷克共和国": CountryInfo("CZ", "+420", "1916801552"),
    "德国": CountryInfo("DE", "+49", "1916801552"),
    "吉布提": CountryInfo("DJ", "+253", "1916801552"),
    "丹麦": CountryInfo("DK", "+45", "1916801552"),
    "多米尼克": CountryInfo("DM", "+1 767", "1916801552"),
    "多米尼加共和国": CountryInfo("DO", "+1 809 / +1 829 / +1 849", "1916801552"),
    "阿尔及利亚": CountryInfo("DZ", "+213", "1916801552"),
    "厄瓜多尔": CountryInfo("EC", "+593", "1916801552"),
    "爱沙尼亚": CountryInfo("EE", "+372", "1916801552"),
    "埃及": CountryInfo("EG", "+20", "1916801552"),
    "西班牙": CountryInfo("ES", "+34", "1916801552"),
    "埃塞俄比亚": CountryInfo("ET", "+251", "1916801552"),
    "芬兰": CountryInfo("FI", "+358", "1916801552"),
    "斐济": CountryInfo("FJ", "+679", "1916801552"),
    "福克兰群岛（马尔维纳斯群岛）": CountryInfo("FK", "+500", "1916801552"),
    "密克罗尼西亚联邦": CountryInfo("FM", "+691", "1916801552"),
    "法罗群岛": CountryInfo("FO", "+298", "1916801552"),
    "法国": CountryInfo("FR", "+33", "1916801552"),
    "加蓬": CountryInfo("GA", "+241", "1916801552"),
    "格林纳达": CountryInfo("GD", "+1 473", "1916801552"),
    "格鲁吉亚": CountryInfo("GE", "+995", "1916801552"),
    "法属圭亚那": CountryInfo("GF", "+594", "1916801552"),
    "加纳": CountryInfo("GH", "+233", "1916801552"),
    "直布罗陀": CountryInfo("GI", "+350", "1916801552"),
    "格陵兰": CountryInfo("GL", "+299", "1916801552"),
    "冈比亚": CountryInfo("GM", "+220", "1916801552"),
    "几内亚": CountryInfo("GN", "+224", "1916801552"),
    "瓜德罗普": CountryInfo("GP", "+590", "1916801552"),
    "赤道几内亚": CountryInfo("GQ", "+240", "1916801552"),
    "希腊": CountryInfo("GR", "+30", "1916801552"),
    "危地马拉": CountryInfo("GT", "+502", "1916801552"),
    "几内亚比绍": CountryInfo("GW", "+245", "1916801552"),
    "圭亚那": CountryInfo("GY", "+592", "1916801552"),
    "中国香港特别行政区": CountryInfo("HK", "+852", "1916801552"),
    "洪都拉斯": CountryInfo("HN", "+504", "1916801552"),
    "克罗地亚": CountryInfo("HR", "+385", "1916801552"),
    "海地": CountryInfo("HT", "+509", "1916801552"),
    "匈牙利": CountryInfo("HU", "+36", "1916801552"),
    "印度尼西亚": CountryInfo("ID", "+62", "1916801552"),
    "爱尔兰": CountryInfo("IE", "+353", "1916801552"),
    "印度": CountryInfo("IN", "+91", "1916801552"),
    "英属印度洋领地": CountryInfo("IO", "+246", "1916801552"),
    "伊拉克": CountryInfo("IQ", "+964", "1916801552"),
    "冰岛": CountryInfo("IS", "+354", "1916801552"),
    "意大利": CountryInfo("IT", "+39", "1916801552"),
    "牙买加": CountryInfo("JM", "+1 876", "1916801552"),
    "约旦": CountryInfo("JO", "+962", "1916801552"),
    "肯尼亚": CountryInfo("KE", "+254", "1916801552"),
    "吉尔吉斯斯坦": CountryInfo("KG", "+996", "1916801552"),
    "柬埔寨": CountryInfo("KH", "+855", "1916801552"),
    "基里巴斯": CountryInfo("KI", "+686", "1916801552"),
    "科摩罗": CountryInfo("KM", "+269", "1916801552"),
    "圣基茨和尼维斯": CountryInfo("KN", "+1 869", "1916801552"),
    "韩国": CountryInfo("KR", "+82", "1916801552"),
    "科威特": CountryInfo("KW", "+965", "1916801552"),
    "开曼群岛": CountryInfo("KY", "+1 345", "1916801552"),
    "哈萨克斯坦": CountryInfo("KZ", "+7", "1916801552"),
    "老挝": CountryInfo("LA", "+856", "1916801552"),
    "黎巴嫩": CountryInfo("LB", "+961", "1916801552"),
    "圣卢西亚": CountryInfo("LC", "+1 758", "1916801552"),
    "列支敦士登": CountryInfo("LI", "+423", "1916801552"),
    "斯里兰卡": CountryInfo("LK", "+94", "1916801552"),
    "莱索托": CountryInfo("LS", "+266", "1916801552"),
    "立陶宛": CountryInfo("LT", "+370", "1916801552"),
    "卢森堡": CountryInfo("LU", "+352", "1916801552"),
    "拉脱维亚": CountryInfo("LV", "+371", "1916801552"),
    "利比亚": CountryInfo("LY", "+218", "1916801552"),
    "摩洛哥": CountryInfo("MA", "+212", "1916801552"),
    "摩尔多瓦": CountryInfo("MD", "+373", "1916801552"),
    "黑山": CountryInfo("ME", "+382", "1916801552"),
    "马达加斯加": CountryInfo("MG", "+261", "1916801552"),
    "北马其顿共和国": CountryInfo("MK", "+389", "1916801552"),
    "马里": CountryInfo("ML", "+223", "1916801552"),
    "蒙古": CountryInfo("MN", "+976", "1916801552"),
    "中国澳门特别行政区": CountryInfo("MO", "+853", "1916801552"),
    "马提尼克": CountryInfo("MQ", "+596", "1916801552"),
    "毛利塔尼亚": CountryInfo("MR", "+222", "1916801552"),
    "蒙特塞拉特": CountryInfo("MS", "+1 664", "1916801552"),
    "马耳他": CountryInfo("MT", "+356", "1916801552"),
    "毛里求斯": CountryInfo("MU", "+230", "1916801552"),
    "马尔代夫": CountryInfo("MV", "+960", "1916801552"),
    "马拉维": CountryInfo("MW", "+265", "1916801552"),
    "墨西哥": CountryInfo("MX", "+52", "1916801552"),
    "马来西亚": CountryInfo("MY", "+60", "1916801552"),
    "莫桑比克": CountryInfo("MZ", "+258", "1916801552"),
    "新喀里多尼亚": CountryInfo("NC", "+687", "1916801552"),
    "尼日尔": CountryInfo("NE", "+227", "1916801552"),
    "诺福克岛": CountryInfo("NF", "+6723", "1916801552"),
    "尼日利亚": CountryInfo("NG", "+234", "1916801552"),
    "荷兰": CountryInfo("NL", "+31", "1916801552"),
    "挪威": CountryInfo("NO", "+47", "1916801552"),
    "尼泊尔": CountryInfo("NP", "+977", "1916801552"),
    "阿曼": CountryInfo("OM", "+968", "1916801552"),
    "巴拿马": CountryInfo("PA", "+507", "1916801552"),
    "秘鲁": CountryInfo("PE", "+51", "1916801552"),
    "法属波利尼西亚": CountryInfo("PF", "+689", "1916801552"),
    "巴布亚新几内亚": CountryInfo("PG", "+675", "1916801552"),
    "菲律宾": CountryInfo("PH", "+63", "1916801552"),
    "巴基斯坦": CountryInfo("PK", "+92", "1916801552"),
    "波兰": CountryInfo("PL", "+48", "1916801552"),
    "圣皮埃尔和密克隆": CountryInfo("PM", "+508", "1916801552"),
    "巴勒斯坦国": CountryInfo("PS", "+970", "1916801552"),
    "越南": CountryInfo( "VN", "+84", "1916801552"),
    "葡萄牙": {"国家编码": "PT", "国家手机区号": "+351", "手机号": "1916801552"},
    "巴拉圭": {"国家编码": "PY", "国家手机区号": "+595", "手机号": "1916801552"},
    "卡塔尔": {"国家编码": "QA", "国家手机区号": "+974", "手机号": "1916801552"},
    "留尼汪": {"国家编码": "RE", "国家手机区号": "+262", "手机号": "1916801552"},
    "罗马尼亚": {"国家编码": "RO", "国家手机区号": "+40", "手机号": "1916801552"},
    "塞尔维亚": {"国家编码": "RS", "国家手机区号": "+381", "手机号": "1916801552"},
    "卢旺达": {"国家编码": "RW", "国家手机区号": "+250", "手机号": "1916801552"},
    "沙特阿拉伯": {"国家编码": "SA", "国家手机区号": "+966", "手机号": "1916801552"},
    "所罗门群岛": {"国家编码": "SB", "国家手机区号": "+677", "手机号": "1916801552"},
    "塞舌尔": {"国家编码": "SC", "国家手机区号": "+248", "手机号": "1916801552"},
    "瑞典": {"国家编码": "SE", "国家手机区号": "+46", "手机号": "1916801552"},
    "新加坡": {"国家编码": "SG", "国家手机区号": "+65", "手机号": "1916801552"},
    "斯洛文尼亚": {"国家编码": "SI", "国家手机区号": "+386", "手机号": "1916801552"},
    "斯洛伐克": {"国家编码": "SK", "国家手机区号": "+421", "手机号": "1916801552"},
    "塞拉利昂": {"国家编码": "SL", "国家手机区号": "+232", "手机号": "1916801552"},
    "圣马力诺": {"国家编码": "SM", "国家手机区号": "+378", "手机号": "1916801552"},
    "塞内加尔": {"国家编码": "SN", "国家手机区号": "+221", "手机号": "1916801552"},
    "索马里": {"国家编码": "SO", "国家手机区号": "+252", "手机号": "1916801552"},
    "苏里南": {"国家编码": "SR", "国家手机区号": "+597", "手机号": "1916801552"},
    "圣多美和普林西比": {"国家编码": "ST", "国家手机区号": "+239", "手机号": "1916801552"},
    "萨尔瓦多": {"国家编码": "SV", "国家手机区号": "+503", "手机号": "1916801552"},
    "斯威士兰": {"国家编码": "SZ", "国家手机区号": "+268", "手机号": "1916801552"},
    "特克斯和凯科斯群岛": {"国家编码": "TC", "国家手机区号": "+1 649", "手机号": "1916801552"},
    "乍得": {"国家编码": "TD", "国家手机区号": "+235", "手机号": "1916801552"},
    "多哥": {"国家编码": "TG", "国家手机区号": "+228", "手机号": "1916801552"},
    "泰国": {"国家编码": "TH", "国家手机区号": "+66", "手机号": "1916801552"},
    "塔吉克斯坦": {"国家编码": "TJ", "国家手机区号": "+992", "手机号": "1916801552"},
    "东帝汶": {"国家编码": "TL", "国家手机区号": "+670", "手机号": "1916801552"},
    "土库曼斯坦": {"国家编码": "TM", "国家手机区号": "+993", "手机号": "1916801552"},
    "突尼斯": {"国家编码": "TN", "国家手机区号": "+216", "手机号": "1916801552"},
    "汤加": {"国家编码": "TO", "国家手机区号": "+676", "手机号": "1916801552"},
    "土耳其": {"国家编码": "TR", "国家手机区号": "+90", "手机号": "1916801552"},
    "特立尼达和多巴哥": {"国家编码": "TT", "国家手机区号": "+1 868", "手机号": "1916801552"},
    "中国台湾地区": {"国家编码": "TW", "国家手机区号": "+886", "手机号": "1916801552"},
    "坦桑尼亚": {"国家编码": "TZ", "国家手机区号": "+255", "手机号": "1916801552"},
    "乌克兰": {"国家编码": "UA", "国家手机区号": "+380", "手机号": "1916801552"},
    "乌干达": {"国家编码": "UG", "国家手机区号": "+256", "手机号": "1916801552"},
    "乌拉圭": {"国家编码": "UY", "国家手机区号": "+598", "手机号": "1916801552"},
    "乌兹别克斯坦": {"国家编码": "UZ", "国家手机区号": "+998", "手机号": "1916801552"},
    "圣文森特和格林纳丁斯": {"国家编码": "VC", "国家手机区号": "+1 784", "手机号": "1916801552"},
    "委内瑞拉": {"国家编码": "VE", "国家手机区号": "+58", "手机号": "1916801552"},
    "英属维尔京群岛": {"国家编码": "VG", "国家手机区号": "+1 284", "手机号": "1916801552"},

    "瓦利斯和富图纳": {"国家编码": "WF", "国家手机区号": "+681", "手机号": "1916801552"},
    "马约特": {"国家编码": "YT", "国家手机区号": "+262", "手机号": "1916801552"},
    "南非": {"国家编码": "ZA", "国家手机区号": "+27", "手机号": "1916801552"},
    "赞比亚": {"国家编码": "ZM", "国家手机区号": "+260", "手机号": "1916801552"},
    "津巴布韦": {"国家编码": "ZW", "国家手机区号": "+263", "手机号": "1916801552"}
}